#include <bits/stdc++.h>
using namespace std;
int main()
{
  for(long long i=0;i<=1000000007;++i)
  {
    if(i*2021%1000000007==999999999)
    {
      cout<<i;
    }
  }
  return 0;
}
